/**
 * @file Configuration.hpp
 * @author your name (you@domain.com)
 * @brief
 * @version 0.1
 * @date 2022-04-05
 *
 * @copyright Copyright (c) 2022
 *
 */

#pragma once

#include <map>
#include <set>
#include <string>

namespace wd
{

class Configuration
{
  public:
    Configuration(const std::string &filepath);

    std::map<std::string, std::string> &getConfigMap();
    std::set<std::string> &getStopWordList();
    void debug();

  private:
    void readConfiguration();

  private:
    std::string filepath_;
    std::map<std::string, std::string> configMap_; // {配置文件名：配置文件路径}
    std::set<std::string> stopWordList_;
};

} // end of namespace wd
